
public class ForTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
//		int[] test = new int[]{1,45,14,78,65,4,5,7,8,9,16,46,86};
//		for(int i = 0;i < 6;){
//			i = i + 3;
//			System.out.println(i);
//		}
		
//		System.out.println(Math.pow(2, 2));
//		System.out.println("0x22:"+0x22);
//		if ("沿主路行驶".compareToIgnoreCase("沿主路行驶") == 0) 
//		{
//			System.out.println("success");
//		}

		System.out.println("Integer.MAX_VALUE:"+Integer.MAX_VALUE);
		System.out.println("Double.MAX_VALUE:"+Double.MAX_VALUE);
		System.out.println("Long.MAX_VALUE:"+Long.MAX_VALUE);
		System.out.println("Float.MAX_VALUE:"+Float.MAX_VALUE);
		
		Long long1 = Long.parseLong("1012");
		Long long2 = Long.parseLong("1012");

		long x = 256;
		int y = Integer.parseInt(String.valueOf(x));
		System.out.println(y);
		if(long1==long2) {
		System.out.println("结果一定是不等于；");
		}

		if(long1.intValue()==long2.intValue()) {
	    System.out.println("结果才是希望得到的结果；");
		}
	}

}
